<template>
    <nav class="user-info-head">
        <div class="user-name">小戴David的个人博客</div>
        <div class="navigator-drawer">
            <div class="drawer-ico"></div>
        </div>
    </nav>
</template>

<script>
export default {
}
</script>

<style lang='less'>
    .user-info-head {
        padding: 120px 0 40px 0;
        position: sticky;
        top: 0;
        display: flex;
        justify-content: space-between;
        background-color: #fff;
        opacity: .99;
        z-index: 9;

        .user-name {
            font-size: 18px;
            font-weight: 700;
        }

        .drawer-ico {
            width: 40px;
            height: 40px;
            position: relative;
            cursor: pointer;

            &::before {
                content: '';
                position: absolute;
                right: 0;
                top: 10px;
                width: 26px;
                height: 3px;
                background: #000;
                display: block;
            }

            &::after {
                content: '';
                width: 18px;
                height: 2px;
                background: #000;
                display: block;
                position: absolute;
                right: 0;
                top: 19px;
            }
        }
    }
</style>